class Tip {
  showToast(title) {
    uni.showToast({
      title: title,
      icon: 'none'
    })
  }
  showLoading(title = '加载中') {
    uni.showLoading({
      title: title
    })
  }
  hideLoading() {
    uni.hideLoading()
  }
}

export default new Tip()